package homework.clazz.Data5;

public class Student extends Person {
    private String department;
    public Student (String name,int age,String dep)
    {
        super(name,age);
        department=dep;
    }
    protected void show()
    {
        System.out.println("Student类 show 方法：");
        System.out.println("系别："+ department);
    }
}
